FIND_PATH(ONNXRUNTIME_INCLUDE_DIR onnxruntime/onnxruntime_cxx_api.h
  "${INCLUDE}"
  /opt/onnxruntime-so/include
)
FIND_LIBRARY(ONNXRUNTIME_LIBRARY_RELEASE NAMES onnxruntime PATHS
  "${LIB}"
  "${LIB_DIR}/lib"
  /opt/onnxruntime-so/lib
)
FIND_LIBRARY(ONNXRUNTIME_LIBRARY_DEBUG NAMES onnxruntimeD PATHS
  "${LIB}"
  "${LIB_DIR}/lib"
  /opt/onnxruntime-so/lib
)
set(ONNXRUNTIME_LIBRARY ${ONNXRUNTIME_LIBRARY_RELEASE})
set(ONNXRUNTIME_LIBRARIES optimized ${ONNXRUNTIME_LIBRARY_RELEASE} debug ${ONNXRUNTIME_LIBRARY_DEBUG})
if (ONNXRUNTIME_INCLUDE_DIR AND ONNXRUNTIME_LIBRARY)
  set(ONNXRUNTIME_FOUND TRUE)
endif()

